Skip to content

Fix stale user given name display on ZHA device card#4606

Merged
bramkragten merged 1 commit into
home-assistant:devfrom
dmulcahey:dm/zha-device-card-state
Jan 25, 2020
Merged

Fix stale user given name display on ZHA device card#4606
bramkragten merged 1 commit into
home-assistant:devfrom
dmulcahey:dm/zha-device-card-state

Conversation

@dmulcahey
Copy link
Copy Markdown
Contributor

Proposed change

This PR updates the ZHA device card to prevent it from displaying stale info for the user_given_name field. If you viewed a device that had a custom user provided name and then you viewed one that didn't the element was showing the previous devices custom name. This PR corrects that.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.

@bramkragten bramkragten merged commit f77bd79 into home-assistant:dev Jan 25, 2020
@lock lock Bot locked and limited conversation to collaborators Jan 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants